package com.da.javatest.niuke.jianzhi;

/**
 * @author chenlida
 * @date 2020/10/18 18:54
 * https://www.nowcoder.com/practice/4060ac7e3e404ad1a894ef3e17650423?
 * tpId=13&tags=&title=&diffculty=0&judgeStatus=0&rp=1
 */
public class C2Solution {
    public String replaceSpace(StringBuffer str) {
        String string = str.toString();
        return string.replace(" ", "%20");
    }
}
